package cn.iocoder.yudao.module.project.controller.admin.weightthresholdmanage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 重量阈值管理新增/修改 Request VO")
@Data
public class WeightThresholdManageSaveReqVO {

    @Schema(description = "主键编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "15867")
    private String id;

    @Schema(description = "型号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "型号不能为空")
    private String type;

    @Schema(description = "物料编号", requiredMode = Schema.RequiredMode.REQUIRED)
    // @NotEmpty(message = "物料编号不能为空")
    private String materielCode;

    @Schema(description = "重量下限(g)")
    private Double lowerWeight;

    @Schema(description = "重量上限(g)")
    private Double upperWeight;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对")
    private String remark;

}